package com.zhiwen.design.decorate;

/**
 * @Auther: wuzhiwen
 * @Date: 2018/12/5 09:58
 * @Description: 装饰的方法
 */
public class Decorator implements Component {
    private Component component;

    public Decorator(Component component){
        this.component = component;
    }

    public void operation() {
        component.operation();
    }
}
